<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<WebMVC.Models.DataTemplateViewModel>>" %>
<ul id="layout-list">
    <% foreach (var item in Model) { %>
    <li>
        <a href="#" id="layout-item-<%=item.DataTemplateId %>" >
            <img class="layout-icon" src="<%= item.ThumbnailPath%>" alt="<%= Html.Encode(item.Name) %>" />
        </a>    
    </li>
    <% } %>
</ul>